package revisao1;

public class Q6 {

	public static void main(String[] args) {
		
		  I1 x = new D();
		 // x.m3("5");
		//  E y = (E) x;
		 // I2 k = (I2) x;

		  I1 k2 = new E();
		  
		  System.out.println( k2 instanceof B);
		  System.out.println( k2 instanceof C);
		  System.out.println( k2 instanceof A);
		  System.out.println( k2 instanceof I1);
		  System.out.println( k2 instanceof I2);

	}
}
